const express = require('express');

const homeRouter = require('./routers/homeRouter')

let app = express();

// 挂载路由中间件
app.use("/", homeRouter)

app.listen(5000, () => {
  console.log('撩学堂后端服务器启动成功: http://localhost:5000/')
})